package com.example.springboot.mapper;

import com.example.springboot.entity.Patient;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PatientMapper {
    @Insert("Insert into patient (baseId,infectionSource,onsetDate,symptoms,hospital,critical,note) VALUES (#{baseId},#{infectionSource},#{onsetDate},#{symptoms},#{hospital},#{critical},#{note})")
     int insert(Patient patient);
}
